package com.adinnet.admin.order.mapper;

import com.adinnet.admin.order.model.Order;
import com.adinnet.admin.order.model.vo.OrderResp;
import com.adinnet.admin.system.model.LoginRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-16
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<OrderResp> orderList(Page<OrderResp> page, @Param("schoolId") Integer schoolId, @Param("organizationId")Integer organizationId, @Param("keyWords")String keyWords, @Param("status")Integer status, @Param("startDate")String startDate, @Param("endDate")String endDate);
}
